﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Layans.Data
{
    public class GroupGift
    {

        public int Id { get; set; }
        [Required]
        [StringLength(5000, MinimumLength = 3, ErrorMessage = "полето трябва да е минимум 3 и максимум 5000 симовла")]
        public string GiftImg { get; set; }


        public virtual User name { get; set; }

        public virtual Avatar img { get; set; }

        //public DateTime DateTime { get; set; }
    }
}
